﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Web.index1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../Scripts/jquery_source/jquery-1.7.1.min.js"></script>
    <script src="../../Scripts/jquery_source/jquery-ui-1.8.20.min.js"></script>
    <link href="../../Content/themes/base/jquery-ui.css" rel="stylesheet" />

    <link href="../../Content/pagejquery/jquery_index.css" rel="stylesheet" />
    <script type="text/javascript">
        function reloadPage(dis_page) {
            $("#page_reloaction").attr("src", dis_page);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="container">
            <div id="header">此处显示 id "header" 的内容</div>
            <div id="nav">
                <ul>
                    <li></li>
                    <li class="nav_li"></li>
                    <li><a href="#">产品列表</a>
                        <ul>
                            <li><a href="#" onclick="javascript:reloadPage('pages/books.aspx')">图书</a></li>
                            <li><a href="#" onclick="javascript:reloadPage('product.aspx')">家用电器</a></li>
                    
                        </ul>
                    </li>
                    <li class="nav_li"></li>
                    <li><a href="#">用户列表</a></li>
                    <li class="nav_li"></li>
                    <li><a href="#">评论管理</a></li>
                    <li class="nav_li"></li>
                    <li><a href="#">关于我们</a></li>
                </ul>
            </div>
            <div id="maincontent">
                <div id="main">
                    <iframe width="100%" height="100%" allowtransparency="true" style="background-color:transparent"  frameborder="0"   scrolling="no" id="page_reloaction" src="pages/books.aspx">
                        <p>Your browser does not support iframes.</p>
                    </iframe>
                </div>
                <div id="side">
                    <ul>
                    <asp:Repeater ID="cat_product" runat="server">
                        <ItemTemplate>
                            <%--<li><a href="/fn/pages/products.aspx?id=<%# Eval("catid") %>"><%# Eval("catname") %></a></li>--%>
                            <li><a href="#" onclick="javascript:reloadPage("+'<%# Eval("catid")%>'+");"><%# Eval("catname") %></a></li>
                            <li class="nav_li"></li>
                        </ItemTemplate>
                    </asp:Repeater>
                        </ul>
                </div>
            </div>
            <div class="clearfloat"></div>
            <div id="footer">此处显示 id "footer" 的内容</div>
        </div>
    </form>
</body>
</html>
